package com.jackstraw.jack_base.rules.service;

import com.jackstraw.jack_base.datasource.mybatis.base.service.MyBatisService;
import com.jackstraw.jack_base.rules.dao.database.RelationRipDao;
import com.jackstraw.jack_base.rules.entity.bo.RelationRipBo;
import com.jackstraw.jack_base.rules.entity.po.RelationIpKeyPo;
import com.jackstraw.jack_base.rules.entity.po.RelationRipPo;
import com.jackstraw.jack_base.rules.entity.po.RelationRipPoExample;

import java.util.List;

/**
 * 场景规则组关系表  service接口
 *
 * @author zhaozhao 945514650@qq.com
 * @since version:1.0 generatorDate:2022-12-04 14:28:28
 */
public interface RelationRipService
        extends MyBatisService<RelationRipDao, RelationRipPo, RelationRipBo, RelationIpKeyPo<RelationRipPo>, RelationRipPoExample> {

    /**
     * 通过ruleGroupId查询rule和importpackage的关系
     *
     * @param ruleGroupId
     * @return
     */
    List<RelationRipBo> queryAllByRuleGroupId(Long ruleGroupId);
}